package com.qfedu.hotelssm.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author dzl
 * @date 2022/8/29 17:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CtDaily {
    //日报id
    @ExcelIgnore
    private Integer id;
    //员工id
    private Integer empid;
    //员工姓名
    private String empname;
    //日报标题
    private String title;
    //日报信息
    private String info;
    //日报创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+16")
    private Date ctime;
}
